<script context="module">
    export let username = 'admin'
    export let logHello = () => {
        console.log('hello world')
    }
</script>

<div>
    <p>导出数据和方法</p>
</div>
